<template>
  <div class="fx-pagination-previous" :class="{disabled:currentPage<=1}" @click="$emit('previousClick',$event)">
    <slot></slot>
  </div>
</template>

<script lang="ts">
import { defineComponent, PropType } from 'vue'

export default defineComponent({
  name: 'fxPaginationPrevious',
  props: {
    currentPage: {
      type: Number as PropType<number>,
      default: 0
    }
  }
})
</script>
